Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 124c32a

Browse files
committed
fixed instances where opened files would not get selected
1 parent 311c37a commit 124c32a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Interop/PipeInteropServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ private void PipeConnection_MessageIn(IAsyncResult iar)
5959
{
6060
if (_window.IsLoaded)
6161
{
62-
if (_window.TryLoadSourceFile(files[i], out _, SelectIt) && _window.WindowState == System.Windows.WindowState.Minimized)
62+
if (_window.TryLoadSourceFile(files[i], out _, SelectMe: SelectIt) && _window.WindowState == System.Windows.WindowState.Minimized)
6363
{
6464
_window.WindowState = System.Windows.WindowState.Normal;
6565
SelectIt = false;

UI/MainWindow/MainWindowCommands.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ private async void Command_Decompile()
619619
var msg = await this.ShowProgressAsync(Translate("Decompiling") + "...", file.Name, false, MetroDialogOptions);
620620
msg.SetIndeterminate();
621621
ProcessUITasks();
622-
TryLoadSourceFile(DecompileUtil.GetDecompiledPlugin(file), out _);
622+
TryLoadSourceFile(DecompileUtil.GetDecompiledPlugin(file), out _, SelectMe: true);
623623
await msg.CloseAsync();
624624
}
625625
}

0 commit comments

Comments
 (0)