mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-31 00:09:58 -06:00
Fix browse table settings not being reapplied correctly
We have already fixed the rowid column from appearing after almost every
action in the Browse Data tab, for example in commit
39302f5b60.
This didn't fix every issue related to this problem though. Hidden
columns are shown too and modified column widths are reset. Also this
happens for different actions, for example the column widths are also
reset when sorting the view or when changing the filters. All these
problems are hopefully fixed by this commit.
See issue #1475.
This commit is contained in:
@@ -193,6 +193,8 @@ private:
|
||||
|
||||
StatementType getQueryType(const QString& query) const;
|
||||
|
||||
void applyBrowseTableSettings(const BrowseDataTableSettings& storedData, bool skipFilters = false);
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent *);
|
||||
void dragEnterEvent(QDragEnterEvent *event);
|
||||
@@ -277,7 +279,7 @@ private slots:
|
||||
void showDataColumnPopupMenu(const QPoint& pos);
|
||||
void showRecordPopupMenu(const QPoint& pos);
|
||||
void editDataColumnDisplayFormat();
|
||||
void showRowidColumn(bool show);
|
||||
void showRowidColumn(bool show, bool skipFilters = false);
|
||||
void browseDataSetTableEncoding(bool forAllTables = false);
|
||||
void browseDataSetDefaultTableEncoding();
|
||||
void fileOpenReadOnly();
|
||||
|
||||
Reference in New Issue
Block a user