Fixes broken selection of WB, crop and straighten from toolbar (#5286)

Improvements:
- When switching between notebook pages different from Locallab one,
edit tools aren't anymore unsubscribed for better robustness
This commit is contained in:
Pandagrapher
2019-04-20 18:43:56 +02:00
parent 853a6f0e2c
commit 3423e45753
2 changed files with 18 additions and 1 deletions

View File

@@ -207,6 +207,7 @@ private:
EditDataProvider *editDataProvider;
sigc::connection notebookconn;
bool photoLoadedOnce; // Used to indicated that a photo has been loaded yet
Gtk::Widget* prevPage;
public:
CoarsePanel* coarse;