From c297311b61719c43785008497c36e98e67cff43d Mon Sep 17 00:00:00 2001 From: defnax Date: Sat, 9 May 2020 23:42:54 +0200 Subject: [PATCH] Fixing column display --- retroshare-gui/src/gui/msgs/MessageModel.h | 2 +- retroshare-gui/src/gui/msgs/MessagesDialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/msgs/MessageModel.h b/retroshare-gui/src/gui/msgs/MessageModel.h index 262f53900..40d8d9fb3 100644 --- a/retroshare-gui/src/gui/msgs/MessageModel.h +++ b/retroshare-gui/src/gui/msgs/MessageModel.h @@ -62,7 +62,7 @@ public: COLUMN_THREAD_DATE = 0x06, COLUMN_THREAD_TAGS = 0x07, COLUMN_THREAD_MSGID = 0x08, - COLUMN_THREAD_NB_COLUMNS = 0x0a, + COLUMN_THREAD_NB_COLUMNS = 0x09, COLUMN_THREAD_CONTENT = 0x09 }; diff --git a/retroshare-gui/src/gui/msgs/MessagesDialog.cpp b/retroshare-gui/src/gui/msgs/MessagesDialog.cpp index 5c73b2e67..6da79533d 100644 --- a/retroshare-gui/src/gui/msgs/MessagesDialog.cpp +++ b/retroshare-gui/src/gui/msgs/MessagesDialog.cpp @@ -330,7 +330,7 @@ UserNotify *MessagesDialog::createUserNotify(QObject *parent) void MessagesDialog::processSettings(bool load) { - int messageTreeVersion = 2; // version number for the settings to solve problems when modifying the column count + int messageTreeVersion = 3; // version number for the settings to solve problems when modifying the column count inProcessSettings = true;