mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-12 16:13:13 +02:00
* FWCmdAddObject.cpp (redo): fixes #2391 "selecting 'new library'
when editor panel not on 'editor' tab causes crash"
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-05-09 Vadim Kurland <vadim@netcitadel.com>
|
||||
|
||||
* FWCmdAddObject.cpp (redo): fixes #2391 "selecting 'new library'
|
||||
when editor panel not on 'editor' tab causes crash"
|
||||
|
||||
2011-05-06 vadim <vadim@netcitadel.com>
|
||||
|
||||
* PolicyCompiler_pf_writers.cpp (_printQueue): see #2390 Classify
|
||||
|
||||
@@ -283,7 +283,9 @@ void FWCmdAddLibrary::redo()
|
||||
// changes when editor opens
|
||||
|
||||
//if (mw->isEditorVisible())
|
||||
QCoreApplication::postEvent(mw, new openObjectInEditorEvent(filename, lib->getId()));
|
||||
QCoreApplication::postEvent(mw, new showObjectInTreeEvent(filename, lib->getId()));
|
||||
QCoreApplication::postEvent(
|
||||
mw, new showObjectInTreeEvent(filename, lib->getId()));
|
||||
QCoreApplication::postEvent(
|
||||
mw, new openObjectInEditorEvent(filename, lib->getId()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user