mode: do not re activate current tab when is moved
This commit is contained in:
parent
287ee3757f
commit
0b7c3d5416
@ -63,7 +63,6 @@ void ModeHandler::currentModeMoved(int from, int to)
|
|||||||
auto modeTo = modes.at(to);
|
auto modeTo = modes.at(to);
|
||||||
modes[from] = modeTo;
|
modes[from] = modeTo;
|
||||||
modes[to] = modeFrom;
|
modes[to] = modeFrom;
|
||||||
setCurrentIndex(to);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int ModeHandler::getCurrentIndex()
|
int ModeHandler::getCurrentIndex()
|
||||||
|
Loading…
Reference in New Issue
Block a user