pause if preferences dialog is open, fixes #413
This commit is contained in:
@@ -31,7 +31,7 @@ class PreferencesDialog : public QDialog
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit PreferencesDialog(QWidget *parent = 0);
|
explicit PreferencesDialog(QWidget *parent = nullptr);
|
||||||
~PreferencesDialog();
|
~PreferencesDialog();
|
||||||
|
|
||||||
void setup_kbd_shortcuts(QMenuBar* menu);
|
void setup_kbd_shortcuts(QMenuBar* menu);
|
||||||
|
|||||||
+4
-2
@@ -1239,8 +1239,10 @@ void MainWindow::maximize_panel() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::preferences()
|
void MainWindow::preferences() {
|
||||||
{
|
panel_sequence_viewer->pause();
|
||||||
|
panel_footage_viewer->pause();
|
||||||
|
|
||||||
PreferencesDialog pd(this);
|
PreferencesDialog pd(this);
|
||||||
pd.setup_kbd_shortcuts(menuBar());
|
pd.setup_kbd_shortcuts(menuBar());
|
||||||
pd.exec();
|
pd.exec();
|
||||||
|
|||||||
Reference in New Issue
Block a user