Browse Source

Fixed so that device is only maximised in handle if not set to Minimised

master
waxfrenzy 22 years ago
parent
commit
fc2d36955a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      GUI/Widgets/Fl_DeviceGUI.C

+ 2
- 2
GUI/Widgets/Fl_DeviceGUI.C View File

@@ -129,13 +129,13 @@ int Fl_DeviceGUI::handle (int event) {
}

if (m_PluginWindow && !m_DelMe) {
if (m_PluginWindow->needs_resize()) {
if (m_PluginWindow->needs_resize() && !m_Minimised) {
Maximise();
m_PluginWindow->needs_resize(false);
}
}

if (m_Minimised==false && !m_PluginWindow->visible()) {
if (!m_Minimised && !m_PluginWindow->visible()) {
Minimise();
if (m_IconButton) m_IconButton->show();
}


Loading…
Cancel
Save