mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Code quality changes
This commit is contained in:
parent
f07ed83722
commit
610f45d082
189 changed files with 4609 additions and 5203 deletions
|
@ -25,7 +25,8 @@ namespace GreenshotImgurPlugin {
|
|||
/// Description of PasswordRequestForm.
|
||||
/// </summary>
|
||||
public partial class SettingsForm : ImgurForm {
|
||||
public SettingsForm(ImgurConfiguration config) : base() {
|
||||
public SettingsForm(ImgurConfiguration config)
|
||||
{
|
||||
//
|
||||
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||
//
|
||||
|
@ -35,11 +36,7 @@ namespace GreenshotImgurPlugin {
|
|||
|
||||
ImgurUtils.LoadHistory();
|
||||
|
||||
if (config.runtimeImgurHistory.Count > 0) {
|
||||
historyButton.Enabled = true;
|
||||
} else {
|
||||
historyButton.Enabled = false;
|
||||
}
|
||||
historyButton.Enabled = config.runtimeImgurHistory.Count > 0;
|
||||
}
|
||||
|
||||
private void ButtonHistoryClick(object sender, EventArgs e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue