Skip to content
Snippets Groups Projects
Commit f601c25b authored by Jan Möbius's avatar Jan Möbius
Browse files

Do update views in Datacontrol dataChanged only for Visibility change, not everything else

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@2973 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6c3611f2
No related branches found
No related tags found
No related merge requests found
......@@ -339,12 +339,14 @@ void DataControlPlugin::slotDataChanged ( const QModelIndex & topLeft,
{
switch (topLeft.column()) {
// Name
case 0:
// std::cerr << "Todo : NameChange" << std::endl;
break;
// show/hide
case 1:
emit update_view();
break;
// source
......@@ -361,7 +363,6 @@ void DataControlPlugin::slotDataChanged ( const QModelIndex & topLeft,
}
view_->expandToDepth(0);
emit update_view();
}
void DataControlPlugin::slotRowsRemoved ( const QModelIndex & _parent, int _start, int _end ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment