File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -744,6 +744,10 @@ private void loadTabControlActions()
744744 bool added = false ;
745745 foreach ( TabPage tabPage in TabListOriginal )
746746 {
747+ // skip the Quick tab if it is currently undocked into a popup window
748+ if ( tabQuickDetached && tabPage == tabQuick )
749+ continue ;
750+
747751 if ( tabPage . Name == tabname && ( ( TabListDisplay . ContainsKey ( tabname ) && TabListDisplay [ tabname ] == true ) || ! TabListDisplay . ContainsKey ( tabname ) ) )
748752 {
749753 tabControlactions . TabPages . Add ( tabPage ) ;
@@ -765,7 +769,7 @@ public void updateDisplayView()
765769 loadTabControlActions ( ) ;
766770
767771 //we want to at least have one tabpage
768- if ( tabControlactions . TabPages . Count == 0 )
772+ if ( tabControlactions . TabPages . Count == 0 && ! tabQuickDetached )
769773 {
770774 tabControlactions . TabPages . Add ( tabQuick ) ;
771775 tabControlactions . SelectedIndex = 0 ;
You can’t perform that action at this time.
0 commit comments