mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-18 17:27:20 +01:00
fixed yet another unit test that did not create FWObjectClipboard object and crashed because of that
This commit is contained in:
parent
e4c31fa623
commit
0237f694d9
@ -43,6 +43,7 @@
|
||||
#include "ObjectTreeView.h"
|
||||
#include "ObjectTreeViewItem.h"
|
||||
#include "ObjectEditor.h"
|
||||
#include "FWObjectClipboard.h"
|
||||
|
||||
#include "fwbuilder/RuleSet.h"
|
||||
|
||||
@ -65,6 +66,7 @@ QPoint findItemPos(ObjectTreeViewItem *item, ObjectTreeView *tree)
|
||||
|
||||
void ObjectManipulatorTest::editSelectedObject()
|
||||
{
|
||||
new FWObjectClipboard();
|
||||
mw = new FWWindow();
|
||||
mw->show();
|
||||
mw->loadFile("test.fwb", false);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user