Skip to content

Commit

Permalink
fix reopening CVCenter...
Browse files Browse the repository at this point in the history
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 8e27735
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CVCenter/CVCenter.sc
Expand Up @@ -692,7 +692,7 @@ CVCenter {
tabProperties[thisTabLabel] ?? {
tabProperties.put(thisTabLabel, (nextPos: Point(0, 0), tabColor: labelColor, detached: false));
};
thisTab.focus;
thisTab !? { thisTab.focus };
^thisTab;
}

Expand Down
2 changes: 1 addition & 1 deletion Conductor
Submodule Conductor updated 1 files
+1 −2 classes/CV/CV.sc

0 comments on commit 8e27735

Please sign in to comment.