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