From f7374a8525fa163fe04c0849c933318a8d7008f7 Mon Sep 17 00:00:00 2001 From: Al12rs Date: Thu, 15 Feb 2018 01:56:40 +0100 Subject: - Added "Clear all Filters" button with red outline that only shows up if one or more filters are selected. - Fixed a bug that would not allow the already present "Clear" button under the filters tab to clear "contains" type of filters. - Fixed a bug that enabled the "Clear" button at the start even if there were no filters selected. --- src/mainwindow.ui | 49 +++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 45 insertions(+), 4 deletions(-) (limited to 'src/mainwindow.ui') diff --git a/src/mainwindow.ui b/src/mainwindow.ui index d9667ed7..49f313ca 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -96,6 +96,9 @@ + + false + 0 @@ -485,6 +488,44 @@ p, li { white-space: pre-wrap; } + + + + + 0 + 0 + + + + + 0 + 25 + + + + false + + + Qt::RightToLeft + + + border:2px solid #ff0000; + + + Clear all Filters + + + + :/MO/gui/edit_clear:/MO/gui/edit_clear + + + + 12 + 12 + + + + @@ -729,12 +770,12 @@ p, li { white-space: pre-wrap; } + + true + Sort - - - true - + :/MO/gui/sort:/MO/gui/sort -- cgit v1.3.1