mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-08 00:45:14 +00:00
Issue #578 Always on top fixed on search results, using dialog where possible
This commit is contained in:
@@ -272,6 +272,12 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
|
||||
}
|
||||
}
|
||||
|
||||
public MainFrame getMainFrame() {
|
||||
return mainFrame;
|
||||
}
|
||||
|
||||
|
||||
|
||||
static {
|
||||
try {
|
||||
File.createTempFile("temp", ".swf").delete(); //First call to this is slow, so make it first
|
||||
@@ -1388,7 +1394,7 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
|
||||
|
||||
public void searchAs() {
|
||||
if (searchDialog == null) {
|
||||
searchDialog = new SearchDialog();
|
||||
searchDialog = new SearchDialog(getMainFrame().getWindow());
|
||||
}
|
||||
searchDialog.setVisible(true);
|
||||
if (searchDialog.result) {
|
||||
|
||||
Reference in New Issue
Block a user