From f01fe9ce7c17bc9697286b49f03534a45d3daaa4 Mon Sep 17 00:00:00 2001
From: isanae <14251494+isanae@users.noreply.github.com>
Date: Mon, 28 Dec 2020 06:37:50 -0500
Subject: refresh action, added in toolbar and menu
---
src/mainwindow.cpp | 6 +++++-
src/mainwindow.h | 1 +
src/mainwindow.ui | 14 ++++++++++++++
3 files changed, 20 insertions(+), 1 deletion(-)
(limited to 'src')
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 0f5b15e3..31b82d62 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -487,7 +487,6 @@ MainWindow::MainWindow(Settings &settings
new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_Enter), this, SLOT(openExplorer_activated()));
new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_Return), this, SLOT(openExplorer_activated()));
- new QShortcut(QKeySequence::Refresh, this, SLOT(refreshProfile_activated()));
setFilterShortcuts(ui->modList, ui->modFilterEdit);
setFilterShortcuts(ui->espList, ui->espFilterEdit);
@@ -2292,6 +2291,11 @@ void MainWindow::on_actionInstallMod_triggered()
installMod();
}
+void MainWindow::on_action_Refresh_triggered()
+{
+ refreshProfile_activated();
+}
+
void MainWindow::on_actionAdd_Profile_triggered()
{
for (;;) {
diff --git a/src/mainwindow.h b/src/mainwindow.h
index eae150d6..f8910361 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -557,6 +557,7 @@ private slots: // ui slots
// actions
void on_actionAdd_Profile_triggered();
void on_actionInstallMod_triggered();
+ void on_action_Refresh_triggered();
void on_actionModify_Executables_triggered();
void on_actionNexus_triggered();
void on_actionNotifications_triggered();
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index 692246fd..14cbdda1 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -1413,6 +1413,7 @@ p, li { white-space: pre-wrap; }
+
@@ -1482,6 +1483,7 @@ p, li { white-space: pre-wrap; }
+
@@ -1896,6 +1898,18 @@ p, li { white-space: pre-wrap; }
Log
+
+
+
+ :/MO/gui/resources/view-refresh.png:/MO/gui/resources/view-refresh.png
+
+
+ &Refresh
+
+
+ F5
+
+
--
cgit v1.3.1