diff --git a/res/ui/transactions_tab.ui b/res/ui/transactions_tab.ui index a073b1ef5e96e0c5d0ce5ddf9201311368ae149e..3f7d6aec7d6df2f2205614db60ef7d2ca17909e7 100644 --- a/res/ui/transactions_tab.ui +++ b/res/ui/transactions_tab.ui @@ -48,6 +48,12 @@ <property name="contextMenuPolicy"> <enum>Qt::CustomContextMenu</enum> </property> + <property name="showDropIndicator" stdset="0"> + <bool>false</bool> + </property> + <property name="dragDropOverwriteMode"> + <bool>false</bool> + </property> <attribute name="horizontalHeaderShowSortIndicator" stdset="0"> <bool>true</bool> </attribute> diff --git a/src/cutecoin/gui/transactions_tab.py b/src/cutecoin/gui/transactions_tab.py index cdae8748dc9473b2373dfc47eeb39076ed795272..7b30731b3d231019bf2365bcb504700df01610ca 100644 --- a/src/cutecoin/gui/transactions_tab.py +++ b/src/cutecoin/gui/transactions_tab.py @@ -53,7 +53,7 @@ class TransactionsTabWidget(QWidget, Ui_transactionsTabWidget): self.table_history.setModel(proxy) self.table_history.setSelectionBehavior(QAbstractItemView.SelectRows) self.table_history.setSortingEnabled(True) - self.table_history.horizontalHeader().setSectionResizeMode(QHeaderView.ResizeToContents) + self.table_history.horizontalHeader().setSectionResizeMode(QHeaderView.Interactive) def history_context_menu(self, point): index = self.table_history.indexAt(point)