Commit ccd7785c authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix availablity of toolbars after editing

Bascially, when the toolbars are edited without any document open,
they should still be disabled after editing.

parent 307e910e
......@@ -487,6 +487,7 @@ KisMainWindow::KisMainWindow(QUuid uuid)
connect(guiFactory(), SIGNAL(makingChanges(bool)), SLOT(slotXmlGuiMakingChanges(bool)));
// Create and plug toolbar list for Settings menu
QList<QAction *> toolbarList;
......@@ -2713,6 +2714,13 @@ void KisMainWindow::windowScreenChanged(QScreen *screen)
this, SIGNAL(screenChanged()));
void KisMainWindow::slotXmlGuiMakingChanges(bool finished)
if (finished) {
#include <moc_KisMainWindow.cpp>
......@@ -434,6 +434,8 @@ private Q_SLOTS:
void windowScreenChanged(QScreen *screen);
void slotXmlGuiMakingChanges(bool finished);
void closeEvent(QCloseEvent * e) override;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment