Skip to content
Snippets Groups Projects
Commit 666fdf0f authored by inso's avatar inso
Browse files

Fixed issue #99

parent 3083eeb3
Branches
Tags
No related merge requests found
......@@ -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>
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment