1
0
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:
Vadim Kurland 2011-07-19 19:41:27 -07:00
parent e553360d24
commit 83514e728b

View File

@ -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()