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 +4 -4
- data/handlers/tab_state.rb +6 -1
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c0293a49d22f8e09e45605523099695de77f18f59ff8c11a195ebe2dec80683
|
4
|
+
data.tar.gz: b65d803bf3387dbddfb6e618acac485c66ab8820105796902da246ba96b5911c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cc54dc3d0915b7e8658d3022bb24dcdaae4e284a2c1961c6a1ee65603428e754d25bc377e97ff3549a7cd3fac4671c5d5fa2738888efdbcea7b0b39c4c44b6a
|
7
|
+
data.tar.gz: 14e0e130bdef794749968ee667122ae35c895e9917a4edbd293f2108555848d167231ac9b0f8a1f94a35a368340a238f1850209d0569bbe94d6157593cb44b52
|
data/handlers/tab_state.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/version.rb
CHANGED
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.
|
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-
|
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
|