Avoids Locallab spot to disapear when mouse right-clicking
This commit also avoids Locallab spot to disapear when adding lockable color picker, pressing toolbar "hand" button, pressing h/H key. However, if another tool button (ex: resizing tool) is pressed, this action is considered
This commit is contained in:
@@ -281,8 +281,10 @@ void ToolPanelCoordinator::notebookPageChanged(Gtk::Widget* page, guint page_num
|
||||
// segfault) and locallab panel is active
|
||||
if (photoLoadedOnce) {
|
||||
if (page == locallabPanelSW) {
|
||||
toolBar->blockEditDeactivation(); // Avoid edit tool deactivation when Locallab page is active (except if pressing other tools button)
|
||||
locallab->subscribe();
|
||||
} else {
|
||||
toolBar->blockEditDeactivation(false);
|
||||
locallab->unsubscribe();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user