Skip to content

Commit

Permalink
Don't resize the window if in fullscreen mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgibbs committed Nov 30, 2018
1 parent 01b3d25 commit 1631739
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pydm/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,8 @@ def show_about_window(self, checked):
a.show()

def resizeForNewDisplayWidget(self):
self.resize(self._new_widget_size)
if not self.isFullScreen():
self.resize(self._new_widget_size)

def closeEvent(self, event):
self.clear_display_widget()
Expand Down

0 comments on commit 1631739

Please sign in to comment.