fix releasing cell selection behavior (#1501)
This commit is contained in:
parent
3f818e3fc6
commit
6de97716e8
1 changed files with 4 additions and 2 deletions
|
@ -384,7 +384,7 @@ void FilmstripFrames::hideEvent(QHideEvent *) {
|
||||||
TApp *app = TApp::instance();
|
TApp *app = TApp::instance();
|
||||||
|
|
||||||
// cambiamenti al livello
|
// cambiamenti al livello
|
||||||
disconnect(app->getCurrentLevel());
|
disconnect(app->getCurrentLevel(), 0, this, 0);
|
||||||
|
|
||||||
// al frame corrente
|
// al frame corrente
|
||||||
disconnect(app->getCurrentFrame(), SIGNAL(frameSwitched()), this,
|
disconnect(app->getCurrentFrame(), SIGNAL(frameSwitched()), this,
|
||||||
|
@ -1007,7 +1007,9 @@ void FilmstripFrames::onFrameSwitched() {
|
||||||
if (index >= 0) {
|
if (index >= 0) {
|
||||||
exponeFrame(index);
|
exponeFrame(index);
|
||||||
// clear selection and select only the destination frame
|
// clear selection and select only the destination frame
|
||||||
select(index, ONLY_SELECT);
|
TFilmstripSelection *fsSelection =
|
||||||
|
dynamic_cast<TFilmstripSelection *>(TSelection::getCurrent());
|
||||||
|
if (fsSelection) select(index, ONLY_SELECT);
|
||||||
}
|
}
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue