Commit c182bde9 authored by Halla Rempt's avatar Halla Rempt

Remove bogus assert in KoToolManager

Verified with Boemann

Patch by Sahil Nagpal (<nagpal.sahil01@gmail.com>)
parent 09fc20c4
...@@ -829,7 +829,6 @@ void KoToolManager::switchToolTemporaryRequested(const QString &id) ...@@ -829,7 +829,6 @@ void KoToolManager::switchToolTemporaryRequested(const QString &id)
void KoToolManager::switchBackRequested() void KoToolManager::switchBackRequested()
{ {
Q_ASSERT(d->canvasData);
if (!d->canvasData) return; if (!d->canvasData) return;
if (d->canvasData->stack.isEmpty()) { if (d->canvasData->stack.isEmpty()) {
......
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