ui: Fixed issues related to refresh
* don't clear single file code view on ui refresh * don't refresh ui when clicking refresh * do ui refresh with Alt + Refresh
This commit is contained in:
@@ -641,7 +641,14 @@ void QtMainWindow::closeWindow()
|
||||
|
||||
void QtMainWindow::refresh()
|
||||
{
|
||||
MessageRefresh().dispatch();
|
||||
if (Qt::KeyboardModifier::AltModifier & QApplication::keyboardModifiers())
|
||||
{
|
||||
MessageRefresh().refreshUiOnly().dispatch();
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageRefresh().dispatch();
|
||||
}
|
||||
}
|
||||
|
||||
void QtMainWindow::forceRefresh()
|
||||
|
||||
Reference in New Issue
Block a user