1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-25 04:37:22 +01:00
This commit is contained in:
Vadim Kurland 2009-12-05 01:10:43 +00:00
parent 956c7debfa
commit cb28e74d16
4 changed files with 1 additions and 16 deletions

View File

@ -1 +1 @@
#define BUILD_NUM 2033
#define BUILD_NUM 2034

View File

@ -316,7 +316,6 @@ public:
libfwbuilder::FWObject *obj);
void updateLibColor(libfwbuilder::FWObject *lib);
void updateLibName(libfwbuilder::FWObject *lib);
void autoRenameChildren(libfwbuilder::FWObject *obj,
const QString &oldName,

View File

@ -276,19 +276,6 @@ void ObjectManipulator::updateLibColor(FWObject *lib)
}
}
void ObjectManipulator::updateLibName(FWObject *lib)
{
int oldidx = getIdxForLib(lib);
QTreeWidget *objTreeView = idxToTrees[oldidx];
QString newlibname = QString::fromUtf8(lib->getName().c_str());
if (m_objectManipulator->libs->itemText(oldidx) != newlibname)
{
removeLib(oldidx);
addLib(lib);
}
}
/*
* Update tree item for the given object, including its name and brief summary
* of properties. If @subtree=true, do the same for all its children as well.

View File

@ -164,7 +164,6 @@ bool ProjectPanel::event(QEvent *event)
if (Library::cast(obj))
{
m_panel->om->updateLibName(obj);
m_panel->om->updateLibColor(obj);
}