This commit is contained in:
Kovid Goyal 2013-06-09 07:56:43 +05:30
parent 734ddd2943
commit 31c2b8b3d1

View File

@ -305,7 +305,6 @@ class Preferences(QMainWindow):
self.bar.setVisible(True)
self.bb.setVisible(False)
def hide_plugin(self):
self.showing_widget = QWidget(self.scroll_area)
self.scroll_area.setWidget(self.showing_widget)
@ -356,7 +355,6 @@ class Preferences(QMainWindow):
if do_restart:
self.gui.quit(restart=True)
def cancel(self, *args):
if self.close_after_initial:
self.close()
@ -390,3 +388,4 @@ if __name__ == '__main__':
p.show()
app.exec_()
gui.shutdown()