gvcsfx 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: daf19f5593c67bffced49199e977c4d6cc1047608c87ed0371e0ef28619ff8d9
4
- data.tar.gz: 82f71d9cec66781ccd7655956f24663a7eab41c6d671c5a5631acf4671970791
3
+ metadata.gz: 2c0293a49d22f8e09e45605523099695de77f18f59ff8c11a195ebe2dec80683
4
+ data.tar.gz: b65d803bf3387dbddfb6e618acac485c66ab8820105796902da246ba96b5911c
5
5
  SHA512:
6
- metadata.gz: 9fab5758406334360cc120c4007588e34e06e61ac460cfd58482839d7a78c4d4a7844cb82672c221567d8b1a444a44b43777dda3745b7d6a5fc8dd34dfab2a68
7
- data.tar.gz: a7edad93ca8231319e68874fd80227a9310ce36088912563fbff23522bd4f856278d9aa2156ea9fc45309ac80a5a67da97726605cf43df9d9139a8ad4b65f6f0
6
+ metadata.gz: 3cc54dc3d0915b7e8658d3022bb24dcdaae4e284a2c1961c6a1ee65603428e754d25bc377e97ff3549a7cd3fac4671c5d5fa2738888efdbcea7b0b39c4c44b6a
7
+ data.tar.gz: 14e0e130bdef794749968ee667122ae35c895e9917a4edbd293f2108555848d167231ac9b0f8a1f94a35a368340a238f1850209d0569bbe94d6157593cb44b52
@@ -121,7 +121,11 @@ module GvcsFx
121
121
  # hooked to but Commit on action
122
122
  def vcs_commit(evt)
123
123
  sel = @tblChanges.selection_model.selected_items
124
- msg = @cmbCommitMsg.value
124
+ # for editable combobox, value comes AFTER the enter key is pressed.
125
+ # But this might have empty value since it is processed BEFORE enter key is detected
126
+ # by the underlying system
127
+ #msg = @cmbCommitMsg.value
128
+ msg = @cmbCommitMsg.editor.text
125
129
  if sel.length == 0
126
130
  fx_alert_error "Cannot commit on empty changes selection. Please select at least a file from the table above.", "No Files Selected", main_stage
127
131
  elsif (msg.nil? or msg.empty?)
@@ -221,6 +225,7 @@ module GvcsFx
221
225
  refresh_vcs_status(nil)
222
226
  @cmbCommitMsg.selection_model.clear_selection
223
227
  @cmbCommitMsg.value = nil
228
+ @cmbCommitMsg.editor.text = ""
224
229
  end
225
230
 
226
231
  # hooked to on_key_typed
@@ -17,5 +17,5 @@
17
17
 
18
18
 
19
19
  module GvcsFx
20
- VERSION = "0.6.1"
20
+ VERSION = "0.6.2"
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gvcsfx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-07 00:00:00.000000000 Z
11
+ date: 2020-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement