mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-18 09:18:23 +01:00
fixes #2566 Double-clicking on rule when program first starts results in empty editor pane
This commit is contained in:
parent
e553360d24
commit
83514e728b
@ -909,10 +909,10 @@ void RuleSetView::editSelected(const QModelIndex& index)
|
||||
mw,
|
||||
new showObjectInTreeEvent(
|
||||
project->getFileName(), fwosm->selectedObject->getId()));
|
||||
}
|
||||
|
||||
if (!mw->isEditorVisible()) mw->showEditor();
|
||||
switchObjectInEditor(index);
|
||||
if (!mw->isEditorVisible()) mw->showEditor();
|
||||
switchObjectInEditor(index);
|
||||
}
|
||||
}
|
||||
|
||||
void RuleSetView::editSelected()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user