mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-24 04:07:55 +01:00
* FWWindow.cpp (FWWindow::FWWindow): fixed #1252 The "New
Object"-Dialog is always opened up twice when pressing <CTRL>+<N>
This commit is contained in:
parent
236eb79758
commit
e7b6128f65
@ -1,5 +1,8 @@
|
||||
2010-02-18 vadim <vadim@vk.crocodile.org>
|
||||
|
||||
* FWWindow.cpp (FWWindow::FWWindow): fixed #1252 The "New
|
||||
Object"-Dialog is always opened up twice when pressing <CTRL>+<N>
|
||||
|
||||
* FindObjectWidget.cpp (FindObjectWidget::_findAll): fixed #1250
|
||||
The Find-Dialog searches 'Deleted Objects'-library although it's
|
||||
not enabled in the preferences. Sourceforge bug #2954501
|
||||
|
||||
@ -256,8 +256,8 @@ FWWindow::FWWindow() : QMainWindow(), // QMainWindow(NULL, Qt::Desktop),
|
||||
instDialogOnScreenTimer->start(1000);
|
||||
|
||||
|
||||
connect( m_mainWindow->newObjectAction, SIGNAL( triggered() ),
|
||||
this, SLOT(newObject() ) );
|
||||
// connect( m_mainWindow->newObjectAction, SIGNAL( triggered() ),
|
||||
// this, SLOT(newObject() ) );
|
||||
|
||||
connect( m_mainWindow->backAction, SIGNAL( triggered() ),
|
||||
this, SLOT(back() ) );
|
||||
|
||||
@ -493,11 +493,6 @@ QModelIndex RuleSetModel::parent(const QModelIndex &child) const
|
||||
|
||||
RuleElement * RuleSetModel::getRuleElementByRole(Rule* r, string roleName) const
|
||||
{
|
||||
if (fwbdebug)
|
||||
qDebug() << "RuleSetModel::getRuleElementByRole"
|
||||
<< "rule: " << r
|
||||
<< "roleName: " << roleName.c_str();
|
||||
|
||||
return RuleElement::cast( r->getFirstByType(roleName) );
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user