mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-21 10:47:16 +01:00
Bug 2399 fixed
This commit is contained in:
parent
ce8bd98102
commit
869cae5039
@ -34,9 +34,6 @@
|
||||
<property name="windowTitle" >
|
||||
<string>Firewall Builder</string>
|
||||
</property>
|
||||
<property name="windowIcon" >
|
||||
<iconset/>
|
||||
</property>
|
||||
<widget class="QWidget" name="widget" >
|
||||
<layout class="QGridLayout" >
|
||||
<property name="leftMargin" >
|
||||
|
||||
@ -217,6 +217,8 @@ ProjectPanel *FWWindow::newProjectPanel()
|
||||
sub->setAttribute(Qt::WA_DeleteOnClose);
|
||||
m_space->addSubWindow(sub);
|
||||
sub->showMaximized();
|
||||
QIcon p(":Icons/Firewall/icon-tree");
|
||||
sub->setWindowIcon(p);
|
||||
return projectW;
|
||||
}
|
||||
|
||||
|
||||
@ -520,7 +520,7 @@ FWObject *ObjectTreeView::getDropTarget(QDropEvent *ev, FWObject* dragobj)
|
||||
ObjectTreeViewItem *otvi=dynamic_cast<ObjectTreeViewItem*>(ovi);
|
||||
FWObject *trobj;
|
||||
if (otvi && (trobj = otvi->getFWObject()) && !trobj->isReadOnly() &&
|
||||
((Interface::isA(dragobj)) //Firewall::isA(trobj) &&
|
||||
(Interface::isA(dragobj) //Firewall::isA(trobj) &&
|
||||
|| (Interface::isA(trobj) && IPv4::isA(dragobj))))
|
||||
return trobj;
|
||||
return 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user