Permalink
Browse files

fix reopening CVCenter...

the GUI got confused when reopening CVCenter as it didn't know how to
focus a non-existent tab. Now it should be possible to reopen CVCenter
at any time and to add widgets even if the GUI is currently not open. To
be observed...

Signed-off-by: Stefan Nussbaumer <st9fan@gmail.com>
  • Loading branch information...
nuss committed Feb 6, 2017
1 parent b0b649e commit 8e2773513b4f281f11f8a805f3c63e2f788bb3be
Showing with 2 additions and 2 deletions.
  1. +1 −1 CVCenter/CVCenter.sc
  2. +1 −1 Conductor
View
@@ -692,7 +692,7 @@ CVCenter {
tabProperties[thisTabLabel] ?? {
tabProperties.put(thisTabLabel, (nextPos: Point(0, 0), tabColor: labelColor, detached: false));
};
- thisTab.focus;
+ thisTab !? { thisTab.focus };
^thisTab;
}
Submodule Conductor updated 1 files
+1 −2 classes/CV/CV.sc

0 comments on commit 8e27735

Please sign in to comment.