Commit 7e32f090 authored by Scott Petrovic's avatar Scott Petrovic

activation flag should be getting set to close, not mdipreviouswindow

parent 046f546f
......@@ -2112,7 +2112,7 @@ void KisMainWindow::createActions()
connect(d->newWindow, SIGNAL(triggered(bool)), this, SLOT(newWindow()));
d->close = new KisAction(i18nc("@action:inmenu", "Close"));
d->mdiPreviousWindow->setActivationFlags(KisAction::ACTIVE_IMAGE);
d->close->setActivationFlags(KisAction::ACTIVE_IMAGE);
connect(d->close, SIGNAL(triggered()), SLOT(closeCurrentWindow()));
actionManager->addAction("file_close", d->close);
......
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