Commit fd532559 authored by Mike Kremer's avatar Mike Kremer
Browse files

Order tabs whenever an object is loaded/removed. This makes sure that the...

Order tabs whenever an object is loaded/removed. This makes sure that the active selection tab widgets always appear first in order.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11311 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1ed8b561
......@@ -1507,8 +1507,6 @@ void SelectionBasePlugin::objectDeleted (int _id) {
void SelectionBasePlugin::updateTabsOrder() {
if(tool_->typeTabWidget->isTabEnabled(tool_->typeTabWidget->currentIndex())) return;
std::map<int, int> newMappings;
int firstFree = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment