From d1bf48b3e3ae3c5f88b457d76194ea4598a39327 Mon Sep 17 00:00:00 2001 From: Taka Date: Sun, 30 Apr 2017 04:02:55 +0000 Subject: [PATCH] Allow tabs to be re-ordered. --- main_window.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main_window.py b/main_window.py index ab49fbb..5176673 100644 --- a/main_window.py +++ b/main_window.py @@ -87,6 +87,7 @@ class MainWindow( QMainWindow ) : # we can now close the startup widget and replace it with the main tab widget self.tab_widget = QTabWidget( self ) self.tab_widget.setTabsClosable( True ) + self.tab_widget.setMovable( True ) self.tab_widget.tabCloseRequested.connect( self.on_tab_close_requested ) self.setCentralWidget( self.tab_widget ) # open the database