mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Revert: Per project modality state
This commit is contained in:
@@ -148,7 +148,7 @@ public class FindDialog extends DialogWrapper {
|
||||
private volatile ProgressIndicatorBase myResultsPreviewSearchProgress;
|
||||
|
||||
public FindDialog(@NotNull Project project, @NotNull FindModel model, @NotNull Consumer<FindModel> myOkHandler){
|
||||
super(project, true, IdeModalityType.PROJECT);
|
||||
super(project, true);
|
||||
myProject = project;
|
||||
myModel = model;
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ import com.intellij.ui.components.dialog
|
||||
import com.intellij.ui.layout.*
|
||||
import com.intellij.util.io.encodeUrlQueryParameter
|
||||
import java.awt.Component
|
||||
import java.awt.Font
|
||||
import javax.swing.JPasswordField
|
||||
import javax.swing.JTextField
|
||||
|
||||
@@ -36,7 +35,6 @@ fun showJetBrainsAccountDialog(parent: Component, project: Project? = null): Dia
|
||||
val credentials = ErrorReportConfigurable.getCredentials()
|
||||
val userField = JTextField(credentials?.userName)
|
||||
val passwordField = JPasswordField(credentials?.password?.toString())
|
||||
passwordField.font = Font("Menlo", passwordField.font.style, passwordField.font.size)
|
||||
|
||||
// if no user name - never stored and so, defaults to remember. if user name set, but no password, so, previously was stored without password
|
||||
val rememberCheckBox = CheckBox(CommonBundle.message("checkbox.remember.password"), selected = credentials?.userName == null || !credentials?.password.isNullOrEmpty())
|
||||
|
||||
@@ -23,7 +23,6 @@ TextFieldUI=com.intellij.ide.ui.laf.intellij.MacIntelliJTextFieldUI
|
||||
TextField.border=com.intellij.ide.ui.laf.intellij.MacIntelliJTextBorder
|
||||
PasswordFieldUI=com.intellij.ide.ui.laf.intellij.MacIntelliJPasswordFieldUI
|
||||
PasswordField.border=com.intellij.ide.ui.laf.intellij.MacIntelliJTextBorder
|
||||
PasswordField.font=com.intellij.ide.ui.laf.intellij.MacIntelliJTextBorder
|
||||
|
||||
SpinnerUI=com.intellij.ide.ui.laf.intellij.MacIntelliJSpinnerUI
|
||||
Spinner.border=com.intellij.ide.ui.laf.intellij.MacIntelliJSpinnerBorder
|
||||
|
||||
Reference in New Issue
Block a user