WIP: further refactoring.

This commit is contained in:
Matthias Koefferlein
2020-02-09 01:35:44 +01:00
parent a44535e009
commit e8a875ccb5
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ Dispatcher::Dispatcher (Plugin *parent, bool standalone)
: Plugin (parent, standalone),
m_menu (this)
{
if (! parent) {
if (! parent && ! ms_dispatcher_instance) {
ms_dispatcher_instance = this;
}
}