Skip to content

Commit

Permalink
Properly position result form
Browse files Browse the repository at this point in the history
Closes #11
  • Loading branch information
Rookiestyle committed May 5, 2021
1 parent f121ba4 commit cc8c307
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/GlobalSearch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,10 @@ private void OnSearchExecute(object sender, EventArgs e)
dlg.InitEx(KPRes.Search, sSubTitle, null, null, l, il, InitListView);
ShowMultiDBInfo(true);
PluginDebug.AddInfo("Multi-DB results: Show", 0);
if (UIUtil.ShowDialogNotValue(dlg, DialogResult.OK))
if (dlg.ShowDialog(m_host.MainWindow) != DialogResult.OK)
{
PluginDebug.AddInfo("Multi-DB results: Shown", 0);
UIUtil.DestroyForm(dlg);
return;
}
PluginDebug.AddInfo("Multi-DB results: Show and navigate", 0);
Expand Down
4 changes: 2 additions & 2 deletions src/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.8")]
[assembly: AssemblyFileVersion("0.8")]
[assembly: AssemblyVersion("0.8.1")]
[assembly: AssemblyFileVersion("0.8.1")]
2 changes: 1 addition & 1 deletion version.info
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:
GlobalSearch:0.8
GlobalSearch:0.8.1
GlobalSearch!de:2
GlobalSearch!pt:1
GlobalSearch!zh:1
Expand Down

0 comments on commit cc8c307

Please sign in to comment.