Commit 35166787 authored by Arno Möller's avatar Arno Möller Committed by Urs Wolfer
Browse files

Don't close the remove view if preferences are not shown

The user already made it quite clear that he wants to open the
remove view if we're here, so don't close it again if he
selected not to show the preferences dialog which is an option
in the preferences dialog itself.

REVIEW: 128059
parent 511814f8
......@@ -299,10 +299,7 @@ void MainWindow::newConnection(const QUrl &newUrl, bool switchFullscreenWhenConn
// Configure the view
HostPreferences* prefs = view->hostPreferences();
if (! prefs->showDialogIfNeeded(this)) {
delete view;
view->showDotCursor(prefs->showLocalCursor() ? RemoteView::CursorOn : RemoteView::CursorOff);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment